package com.crm.model.pojo;

import java.io.Serializable;
import javax.persistence.*;
import java.util.Date;


/**
 * The persistent class for the detailedrequirements database table.
 * 
 */
@Entity
@Table(name="detailedrequirements")
@NamedQuery(name="Detailedrequirement.findAll", query="SELECT d FROM Detailedrequirement d")
public class Detailedrequirement implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	private String detaliid;

	@Column(name="corresponding_opp")
	private String correspondingOpp;

	private String demandcontent;

	private String demandprovider;

	private String demandtheme;

	private int importancedegree;

	@Temporal(TemporalType.DATE)
	private Date recordtime;

	private int shanchu;

	//bi-directional many-to-one association to Customer
	@ManyToOne
	@JoinColumn(name="customer")
	private Customer customerBean;

	public Detailedrequirement() {
	}

	public String getDetaliid() {
		return this.detaliid;
	}

	public void setDetaliid(String detaliid) {
		this.detaliid = detaliid;
	}

	public String getCorrespondingOpp() {
		return this.correspondingOpp;
	}

	public void setCorrespondingOpp(String correspondingOpp) {
		this.correspondingOpp = correspondingOpp;
	}

	public String getDemandcontent() {
		return this.demandcontent;
	}

	public void setDemandcontent(String demandcontent) {
		this.demandcontent = demandcontent;
	}

	public String getDemandprovider() {
		return this.demandprovider;
	}

	public void setDemandprovider(String demandprovider) {
		this.demandprovider = demandprovider;
	}

	public String getDemandtheme() {
		return this.demandtheme;
	}

	public void setDemandtheme(String demandtheme) {
		this.demandtheme = demandtheme;
	}

	public int getImportancedegree() {
		return this.importancedegree;
	}

	public void setImportancedegree(int importancedegree) {
		this.importancedegree = importancedegree;
	}

	public Date getRecordtime() {
		return this.recordtime;
	}

	public void setRecordtime(Date recordtime) {
		this.recordtime = recordtime;
	}

	public int getShanchu() {
		return this.shanchu;
	}

	public void setShanchu(int shanchu) {
		this.shanchu = shanchu;
	}

	public Customer getCustomerBean() {
		return this.customerBean;
	}

	public void setCustomerBean(Customer customerBean) {
		this.customerBean = customerBean;
	}

}